﻿namespace EIP.System.Models.Enums
{
    /// <summary>
    /// 
    /// </summary>
    public enum EnumZeroCodeControl
    {
        /// <summary>
        /// 
        /// </summary>
        input,
        /// <summary>
        /// 
        /// </summary>
        textarea,
        /// <summary>
        /// 
        /// </summary>
        eselect,
        /// <summary>
        /// 
        /// </summary>
        echeckbox,
        /// <summary>
        /// 
        /// </summary>
        eradio,
        /// <summary>
        /// 
        /// </summary>
        enumber,
        /// <summary>
        /// 
        /// </summary>
        @switch,
        /// <summary>
        /// 
        /// </summary>
        rate,
        /// <summary>
        /// 
        /// </summary>
        date,
        /// <summary>
        /// 
        /// </summary>
        time,
        /// <summary>
        /// 
        /// </summary>
        uploadFile,
        /// <summary>
        /// 
        /// </summary>
        uploadImg,
        /// <summary>
        /// 
        /// </summary>
        treeSelect,
        /// <summary>
        /// 
        /// </summary>
        cascader,
        /// <summary>
        /// 
        /// </summary>
        editor,
        /// <summary>
        /// 
        /// </summary>
        button,
        /// <summary>
        /// 
        /// </summary>
        text,
        /// <summary>
        /// 
        /// </summary>
        divider,
        /// <summary>
        /// 
        /// </summary>
        card,
        /// <summary>
        /// 
        /// </summary>
        tabs,
        /// <summary>
        /// 
        /// </summary>
        collapse,
        /// <summary>
        /// 
        /// </summary>
        grid,
        /// <summary>
        /// 
        /// </summary>
        table,
        /// <summary>
        /// 
        /// </summary>
        organization,
        /// <summary>
        /// 
        /// </summary>
        user,
        /// <summary>
        /// 
        /// </summary>
        formulaNumber,
        /// <summary>
        /// 
        /// </summary>
        formulaTime,
        /// <summary>
        /// 
        /// </summary>
        formulaFunc,
        /// <summary>
        /// 
        /// </summary>
        correlation,
        /// <summary>
        /// 
        /// </summary>
        subtable,
        /// <summary>
        /// 
        /// </summary>
        otherField,
        /// <summary>
        /// 
        /// </summary>
        serialNo,
        /// <summary>
        /// 
        /// </summary>
        map,
        /// <summary>
        /// 
        /// </summary>
        district,
        /// <summary>
        /// 
        /// </summary>
        dictionary,
        /// <summary>
        /// 
        /// </summary>
        icon,
        /// <summary>
        /// 
        /// </summary>
        sign,
        /// <summary>
        /// 
        /// </summary>
        barCode,
        /// <summary>
        /// 
        /// </summary>
        autoComplete,
        /// <summary>
        /// 
        /// </summary>
        textCombination,
        /// <summary>
        /// 
        /// </summary>
        total,
    }

    /// <summary>
    /// 关联字段显示方式
    /// </summary>
    public enum EnumZeroCodeControlCorrelationShowType
    {
        /// <summary>
        /// 下拉
        /// </summary>
        select,
        /// <summary>
        /// 卡片
        /// </summary>
        card,
        /// <summary>
        /// 列表
        /// </summary>
        grid
    }
   
    /// <summary>
    /// 关联字段显示方式
    /// </summary>
    public enum EnumZeroCodeControlTotalType
    {
        /// <summary>
        /// 已填计数
        /// </summary>
        nu = 1,
        /// <summary>
        /// 未填计数
        /// </summary>
        nonu = 2,
        /// <summary>
        /// 求和
        /// </summary>
        total = 3,

        /// <summary>
        /// 平均值
        /// </summary>
        avg = 4,

        /// <summary>
        /// 最晚
        /// </summary>
        end = 5,

        /// <summary>
        /// 最早
        /// </summary>
        last = 6
    }
    /// <summary>
    /// 关联字段模式
    /// </summary>
    public enum EnumZeroCodeControlCorrelationMode
    {
        /// <summary>
        /// 子表
        /// </summary>
        subtable,
        /// <summary>
        /// 关联
        /// </summary>
        correlation
    }

    /// <summary>
    /// 关联字段类型
    /// </summary>
    public enum EnumZeroCodeControlCorrelationType
    {
        /// <summary>
        /// 单选
        /// </summary>
        single,
        /// <summary>
        /// 多选
        /// </summary>
        multiple
    }

    /// <summary>
    /// 关联字段类型
    /// </summary>
    public enum EnumZeroCodeControlDefaultValueConfigWorkSheetMultipleType
    {
        /// <summary>
        /// 单选
        /// </summary>
        one=1,
        /// <summary>
        /// 多选
        /// </summary>
        no=2
    }
    /// <summary>
    /// 默认值类型
    /// </summary>
    public enum EnumWorkSheetControlDefaultValueConfigType
    {
        /// <summary>
        /// 工作表
        /// </summary>
        worksheet,

        /// <summary>
        /// 字段
        /// </summary>
        field,

        /// <summary>
        /// 值
        /// </summary>
        value
    }
}
